package com.idea.plugin.helper;

import com.intellij.lang.Language;
import com.intellij.openapi.editor.Editor;
import com.intellij.openapi.module.Module;
import com.intellij.openapi.project.Project;
import com.intellij.openapi.vfs.VirtualFile;
import com.intellij.psi.PsiFile;
import lombok.Data;

import java.io.Serializable;

/**
 * Ide当前事件信息
 */
@Data
public class IdeEventInfo implements Serializable {

    private Project project;
    private Module module;
    private Project projectContext;
    private Module moduleContext;
    private VirtualFile virtualFile;
    private PsiFile psiFile;
    private Editor editor;
    private String fileText;
    private Language language;
    private Boolean isModalContext;
}
